const mog = require("mongoose")

mog.connect("mongodb://127.0.0.1/1208")

mog.connection.on("open",()=>{
    console.log("连接成功");
})

mog.connection.on("error",()=>{
    console.log("连接失败");
})

module.exports = mog